package com.itheima.pojo;

public class UserMessage {
    private int userId;
    private String userName;
    private String password;
    private String address;
    private String image;

    public UserMessage() {
    }

    public UserMessage(int userId, String userName, String password, String address, String image) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
        this.address = address;
        this.image = image;
    }

    /**
     * 获取
     * @return userId
     */
    public int getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return address
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置
     * @param address
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取
     * @return image
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置
     * @param image
     */
    public void setImage(String image) {
        this.image = image;
    }

    public String toString() {
        return "UserMessage{userId = " + userId + ", userName = " + userName + ", password = " + password + ", address = " + address + ", image = " + image + "}";
    }
}
